(use-package crux
  :bind
  ("C-M-h" . crux-smart-kill-line)
  ([remap kill-whole-line] . crux-kill-whole-line)
  (:prefix-map qrthi/edit-prefix
	       :prefix "C-c e"
	       ("d f" . crux-delete-file-and-buffer)
	       ("r r" . replace-regexp)
	       ("r b" . crux-rename-buffer-and-file)
	       ("l d" . crux-duplicate-current-line-or-region)
	       ("l o" . crux-smart-open-line)
	       ("k l" . crux-kill-whole-line)
	       ("k b" . crux-kill-buffer-truename)
	       ("e" . crux-eval-and-replace)
	       ("r s" . replace-string)
	       ("l s" . sort-lines)
	       ("s e" . sudo-edit)
	       ("s d" . dired-toggle-sudo)
	       ;; ("d" . crux-duplicate-and-comment-current-line-or-region)
	       ;; ("M-c" . crux-capitalize-region)
	       ;; ("M-l" . crux-downcase-region)
	       ;; (crux-open-with)
	       )
  ;; :config
  ;; (crux-with-region-or-buffer indent-region)
  ;; (crux-with-region-or-buffer eval-buffer)
  ;; (crux-with-region-or-line comment-or-uncomment-region)
  )
